package com.black.platform.role.vo;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.util.List;

@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
public class RoleTreeVo {
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;
    private String title;
    private boolean expand;
    private boolean checked;
    private boolean disabled;
    private List<RoleTreeVo> children;
}
